/**
 * 
 */
package hu.gbalage.owlforms.internal;

import java.net.URI;
import java.net.URISyntaxException;

/**
 * @author Grill Balazs (balage.g@gmail.com)
 *
 */
public enum Imports {

	ABox("abox.owl"),
	
	Query("query.owl"),
	
	SWRLA("swrla.owl"),
	
	SWRLX("swrlx.owl"),
	
	TBox("tbox.owl"),
	
	Temporal("temporal.owl")
	
	;
	
	private static final String base = 
		"/hu/gbalage/owlforms/resources/imports/";
	
	private URI uri;
	
	private Imports(String fn){
		try {
			uri = this.getClass().getResource(base+fn).toURI();
		} catch (URISyntaxException e) {
			uri = null;
			e.printStackTrace();
		}
	}
	
	public URI getURI(){
		return uri;
	}
	
}
